package com.zhangtai.modules.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import com.zhangtai.utils.Excel.ExcelAnnotation;
import lombok.Data;

import java.io.Serializable;


/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-07 19:52:13
 */
@Data
public class EmployeeRecruitmentTurnExportDto implements Serializable {
	private static final long serialVersionUID = 1L;

	@ExcelAnnotation(rowName = "工号")
	private String code;
	@ExcelAnnotation(rowName = "姓名")
	private String createName;
	@ExcelAnnotation(rowName = "公司")
	private String orgname;
	@ExcelAnnotation(rowName = "部门")
	private String unitname;
	@ExcelAnnotation(rowName = "岗位")
	private String jobname;
	@ExcelAnnotation(rowName = "职级")
	private String jobLevel;
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobLevelId;

	@ExcelAnnotation(rowName = "提醒状态")
	private String isRegularRemindStr;

	@ExcelAnnotation(rowName = "审批状态")
	private String statusStr;

	@ExcelAnnotation(rowName = "入职日期")
	private String hiredateStr;
	@ExcelAnnotation(rowName = "转正日期")
	private String regularDayStr;

	/**
	 * 新公司id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long orgId;
	/**
	 * 部门id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;
	/**
	 * 职位id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long jobId;

}
